\hypertarget{class_state_machine}{\section{State\-Machine Class Reference}
\label{class_state_machine}\index{State\-Machine@{State\-Machine}}
}


{\ttfamily \#include $<$State\-Machine.\-h$>$}

Inheritance diagram for State\-Machine\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_state_machine}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_state_machine_ad04e720a963e34339a125c5ff064c09b}{State\-Machine} (void)
\item 
virtual \hyperlink{class_state_machine_a88c47bc8b8ab361e46740a35a64ce795}{$\sim$\-State\-Machine} (void)
\item 
virtual void \hyperlink{class_state_machine_a0fabb1a7bbbda3158636cec08623a66e}{render\-Game} (float interpolation)=0
\item 
virtual void \hyperlink{class_state_machine_a6ed723b00e78eac46515b636c5a8481e}{update\-Game} (int timer)=0
\item 
virtual void \hyperlink{class_state_machine_a2f89dc242f85ca11d6eb400ffa6499bf}{handle\-Input} (G\-L\-F\-Wwindow $\ast$window)=0
\item 
virtual long \hyperlink{class_state_machine_aab3dd552f209ece70f8913a5fd4449db}{state\-Changer} ()=0
\item 
virtual long \hyperlink{class_state_machine_a39949e8a92cdca4854ac5394d6e0ba42}{get\-Key\-Code} ()=0
\item 
virtual void \hyperlink{class_state_machine_aec67074ebf4261300ba77d216ac156bd}{re\-Init} ()=0
\item 
virtual void \hyperlink{class_state_machine_a603ac1e07086d9b031f47ce1fe3b87b5}{init} ()=0
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 14 of file State\-Machine.\-h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_state_machine_ad04e720a963e34339a125c5ff064c09b}{\index{State\-Machine@{State\-Machine}!State\-Machine@{State\-Machine}}
\index{State\-Machine@{State\-Machine}!StateMachine@{State\-Machine}}
\subsubsection[{State\-Machine}]{\setlength{\rightskip}{0pt plus 5cm}State\-Machine\-::\-State\-Machine (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{class_state_machine_ad04e720a963e34339a125c5ff064c09b}


Definition at line 10 of file State\-Machine.\-cpp.

\hypertarget{class_state_machine_a88c47bc8b8ab361e46740a35a64ce795}{\index{State\-Machine@{State\-Machine}!$\sim$\-State\-Machine@{$\sim$\-State\-Machine}}
\index{$\sim$\-State\-Machine@{$\sim$\-State\-Machine}!StateMachine@{State\-Machine}}
\subsubsection[{$\sim$\-State\-Machine}]{\setlength{\rightskip}{0pt plus 5cm}State\-Machine\-::$\sim$\-State\-Machine (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_state_machine_a88c47bc8b8ab361e46740a35a64ce795}


Definition at line 15 of file State\-Machine.\-cpp.



\subsection{Member Function Documentation}
\hypertarget{class_state_machine_a39949e8a92cdca4854ac5394d6e0ba42}{\index{State\-Machine@{State\-Machine}!get\-Key\-Code@{get\-Key\-Code}}
\index{get\-Key\-Code@{get\-Key\-Code}!StateMachine@{State\-Machine}}
\subsubsection[{get\-Key\-Code}]{\setlength{\rightskip}{0pt plus 5cm}virtual long State\-Machine\-::get\-Key\-Code (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_state_machine_a39949e8a92cdca4854ac5394d6e0ba42}


Implemented in \hyperlink{class_main_state_aab4b71831fb341d73f85ae43a5587f65}{Main\-State}.



Referenced by Main\-Frame\-::update(), and Gameloop\-::update().

\hypertarget{class_state_machine_a2f89dc242f85ca11d6eb400ffa6499bf}{\index{State\-Machine@{State\-Machine}!handle\-Input@{handle\-Input}}
\index{handle\-Input@{handle\-Input}!StateMachine@{State\-Machine}}
\subsubsection[{handle\-Input}]{\setlength{\rightskip}{0pt plus 5cm}virtual void State\-Machine\-::handle\-Input (
\begin{DoxyParamCaption}
\item[{G\-L\-F\-Wwindow $\ast$}]{window}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_state_machine_a2f89dc242f85ca11d6eb400ffa6499bf}


Implemented in \hyperlink{class_main_state_ab4e535f65024f7e0d9fbada13bc7b641}{Main\-State}.



Referenced by Main\-Frame\-::handle\-Input(), and Gameloop\-::handle\-Input().

\hypertarget{class_state_machine_a603ac1e07086d9b031f47ce1fe3b87b5}{\index{State\-Machine@{State\-Machine}!init@{init}}
\index{init@{init}!StateMachine@{State\-Machine}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}virtual void State\-Machine\-::init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_state_machine_a603ac1e07086d9b031f47ce1fe3b87b5}


Implemented in \hyperlink{class_main_state_aa4959f936beed6ef182d3e1ddf97cbfd}{Main\-State}.

\hypertarget{class_state_machine_aec67074ebf4261300ba77d216ac156bd}{\index{State\-Machine@{State\-Machine}!re\-Init@{re\-Init}}
\index{re\-Init@{re\-Init}!StateMachine@{State\-Machine}}
\subsubsection[{re\-Init}]{\setlength{\rightskip}{0pt plus 5cm}virtual void State\-Machine\-::re\-Init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_state_machine_aec67074ebf4261300ba77d216ac156bd}


Implemented in \hyperlink{class_main_state_a94ee0dc0f5ec2fd60e08b9a48d09b4ab}{Main\-State}.



Referenced by State\-Manager\-::call\-States().

\hypertarget{class_state_machine_a0fabb1a7bbbda3158636cec08623a66e}{\index{State\-Machine@{State\-Machine}!render\-Game@{render\-Game}}
\index{render\-Game@{render\-Game}!StateMachine@{State\-Machine}}
\subsubsection[{render\-Game}]{\setlength{\rightskip}{0pt plus 5cm}virtual void State\-Machine\-::render\-Game (
\begin{DoxyParamCaption}
\item[{float}]{interpolation}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_state_machine_a0fabb1a7bbbda3158636cec08623a66e}


Implemented in \hyperlink{class_main_state_ade0581557833ba68939eb7ac7bba7854}{Main\-State}.



Referenced by Main\-Frame\-::render(), and Gameloop\-::render().

\hypertarget{class_state_machine_aab3dd552f209ece70f8913a5fd4449db}{\index{State\-Machine@{State\-Machine}!state\-Changer@{state\-Changer}}
\index{state\-Changer@{state\-Changer}!StateMachine@{State\-Machine}}
\subsubsection[{state\-Changer}]{\setlength{\rightskip}{0pt plus 5cm}virtual long State\-Machine\-::state\-Changer (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_state_machine_aab3dd552f209ece70f8913a5fd4449db}


Implemented in \hyperlink{class_main_state_a87eb6bb57218c385762b78e069e7ff35}{Main\-State}.



Referenced by Main\-Frame\-::update(), and Gameloop\-::update().

\hypertarget{class_state_machine_a6ed723b00e78eac46515b636c5a8481e}{\index{State\-Machine@{State\-Machine}!update\-Game@{update\-Game}}
\index{update\-Game@{update\-Game}!StateMachine@{State\-Machine}}
\subsubsection[{update\-Game}]{\setlength{\rightskip}{0pt plus 5cm}virtual void State\-Machine\-::update\-Game (
\begin{DoxyParamCaption}
\item[{int}]{timer}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_state_machine_a6ed723b00e78eac46515b636c5a8481e}


Implemented in \hyperlink{class_main_state_a3f5551acd1ce1137de961a91e89983be}{Main\-State}.



Referenced by Main\-Frame\-::update(), and Gameloop\-::update().



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Axel/\-Desktop/informatica/\-Projects/\-Workspace C++/\-Game Engine/src/\-State\-Management/\hyperlink{_state_machine_8h}{State\-Machine.\-h}\item 
C\-:/\-Users/\-Axel/\-Desktop/informatica/\-Projects/\-Workspace C++/\-Game Engine/src/\-State\-Management/\hyperlink{_state_machine_8cpp}{State\-Machine.\-cpp}\end{DoxyCompactItemize}
